
package com.bdth.listener;

import org.springframework.web.context.ContextLoaderListener;

import javax.servlet.ServletContextEvent;


public class ApplicationListener extends ContextLoaderListener {
	public void contextDestroyed(ServletContextEvent sce) {

	}

	public void contextInitialized(ServletContextEvent sce) {
		String webAppRootKey = sce.getServletContext().getRealPath("/");
		System.setProperty("csc2.root", webAppRootKey);
	}

}
